package base.exa15;

public class NoNameClass {

    public int num;
    public int age;

    public void say(){
        System.out.println("say hello");
    }

    public static void main(String[] args) {
       NoNameClass noNameClass = new NoNameClass() {
           public void say() {
               System.out.println("I am no body");
           }
       };
       noNameClass.say();
    }

}
